package ru.sgu.diploma.practic.service;

import ru.sgu.diploma.practic.domain.model.Automat;
import ru.sgu.diploma.practic.errors.AlphabetExcephion;
import ru.sgu.diploma.practic.errors.NoStartStateException;

import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;

/**
 * User: datmakin
 * Date: 13.03.11
 * Email: atmakin.dv@gmail.com
 */
public interface AutomatGenerator {
    public Automat generateAutomatFromFile(String string) throws IOException, NoStartStateException, AlphabetExcephion;
    public Automat generateAutomatFromFile(BufferedReader buffer) throws IOException, NoStartStateException, AlphabetExcephion;
}
